package com.leased.mapper;

import com.leased.pojo.AdvertInfo;
import com.leased.pojo.AdvertInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AdvertInfoMapper {
    int countByExample(AdvertInfoExample example);

    int deleteByExample(AdvertInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AdvertInfo record);

    int insertSelective(AdvertInfo record);

    List<AdvertInfo> selectByExample(AdvertInfoExample example);

    AdvertInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AdvertInfo record, @Param("example") AdvertInfoExample example);

    int updateByExample(@Param("record") AdvertInfo record, @Param("example") AdvertInfoExample example);

    int updateByPrimaryKeySelective(AdvertInfo record);

    int updateByPrimaryKey(AdvertInfo record);
}